package com.lisen.codegenerator.util;

import java.util.ArrayList;
import java.util.List;

/**
 * 对于一个节点的描述，单表为单节点
 * 
 * @author lisen
 * 
 */
public class ClassDescriptor {

	// 节点内项的集合
	private List<AttributeDescriptor> attributes;

	// 节点名
	private String name;

	// 节点英文名
	private String taskName;
	
	//标识 main基本信息， link节点
	private String taskType;

	public ClassDescriptor() {
		attributes = new ArrayList<AttributeDescriptor>();
	}

	public void add(AttributeDescriptor ad) {
		attributes.add(ad);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<AttributeDescriptor> getAttributes() {
		return attributes;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

}
